package com.wyth.lottery.service.manager;

import android.content.Context;

import com.wyth.lottery.service.Entity.Detail;
import com.wyth.lottery.service.RetrofitHelper;
import com.wyth.lottery.service.RetrofitService;

import rx.Observable;


/**
 * Created by Administrator on 2017/10/19 0019.
 */

public class DataManager {
    private RetrofitService mRetrofitService;
    public DataManager(Context context){
        this.mRetrofitService = RetrofitHelper.getInstance(context).getServer();
    }
    public Observable<Detail> getDetail(String detail){
        return mRetrofitService.getDetail(detail);
    }
}
